package util;
import java.util.List;
public class Laydata {
    private int code;
    private String msg;//提示信息
    private int count;//数据库的总记录数
    private List<?> data;
    public Laydata() {
    }

    public Laydata(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Laydata(int code, String msg, int count, List<?> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
